package com.piaodekuai.flight.pojo;

import java.io.Serializable;

public class Plane implements Serializable {
    private Integer pId;

    private String pCompany;

    private String pPlaneType;

    private Integer pSum;

    private static final long serialVersionUID = 1L;

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpCompany() {
        return pCompany;
    }

    public void setpCompany(String pCompany) {
        this.pCompany = pCompany == null ? null : pCompany.trim();
    }

    public String getpPlaneType() {
        return pPlaneType;
    }

    public void setpPlaneType(String pPlaneType) {
        this.pPlaneType = pPlaneType == null ? null : pPlaneType.trim();
    }

    public Integer getpSum() {
        return pSum;
    }

    public void setpSum(Integer pSum) {
        this.pSum = pSum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pId=").append(pId);
        sb.append(", pCompany=").append(pCompany);
        sb.append(", pPlaneType=").append(pPlaneType);
        sb.append(", pSum=").append(pSum);
        sb.append("]");
        return sb.toString();
    }
}